<template>
  <span :class="status ? 'color-success' : 'color-error'">
    <i :class="['icon', status ? 'el-icon-success' : 'el-icon-error']"></i>
    <span>{{ status ? " 通 过" : " 失 败" }} </span>
  </span>
</template>
<script>
export default {
  name: "ValidateStatus",
  props: {
    status: {
      type: Boolean,
      default: true
    }
  },
  data() {
    return {};
  }
};
</script>
